package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：zzq
 * 时间：2018/2/1
 * 描述：验证码
 */
@Entity(value="CooValiDateCode", noClassnameStored=true)
public class CooValiDateCode extends BaseMongoEntity{
    private String mobile;
    private String code;

    public CooValiDateCode() {
    }

    public CooValiDateCode(String mobile, String code) {
        this.mobile = mobile;
        this.code = code;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
